<?php
session_start();
require("config.php");
require("common_start.php");
require("lib/func.lib.php");
require("validate.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US" dir="ltr" class="cufon-active cufon-ready">
    
    <head>
        <title><?=$title?></title>

<link rel="canonical" href="<?=$cururl?>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<? $key_arr =  explode(", ", $mykeywords['detail']);
	$Strkey='';
	foreach($key_arr as $key){
		$Strkey.=", ".convert_key($key);
}?>
<meta name="robots" content="index, follow" />
<meta name="keywords" content="<?=$mykeywords['detail']?>" />
<meta name="description" content="<?=$description?>" />
<meta property='og:locale' content='en_us'/>
<meta property='og:title' content='<?=$title?>'/>
<meta property='og:description' content='<?=$description?>'/>
<meta property='og:url' content='<?=$cururl?>'/>
<meta property='og:site_name' content='<?=$title?>'/>
<meta property='og:type' content='article'/>
<meta name="language" content="English" />
<link rel="stylesheet" href="<?=$curHost?>css/index.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?=$curHost?>lib/cssIndex.css" type="text/css" media="screen" />
        <script type="text/javascript" src="<?=$curHost?>js/l10n.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/jquery.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/ddsmoothmenu.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/slides.min.jquery.js"></script>
        <!--
        <script type="text/javascript" src="<?=$curHost?>js/cufon-yui.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/helvetica_400.font.js"></script>
        -->
        <script type="text/javascript" src="<?=$curHost?>js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/zoombox.js"></script>
        <script type="text/javascript" src="<?=$curHost?>js/custom.js"></script>
        <meta name="generator" content="WordPress 3.2.1">
        <link rel="shortcut icon" href="favicon.ico">
        <script>
            jQuery(function () {
                jQuery('#slides').slides({
                    preload: false,
                    preloadImage: 'images/loading.gif',
                    play: 5000,
                    pause: 2500,
                    effect: 'fade',
                    crossfade: true,
                    slideSpeed: 350,
                    fadeSpeed: 1000,
                    hoverPause: true
                });
            });
            //Cufon.replace('h1')('h2')('h3')('h4')('h5')('h6');
        </script>
        <!--[if gte IE 9]>
            <script type="text/javascript">
                Cufon.set('engine', 'canvas');
            </script>
        <![endif]-->
        <script src="<?=$curHost?>js/menu_injection_handler.js" type="text/javascript" charset="utf-8"></script>
        <meta name="geo.placename" content="Hà Nội, Hoàn Kiếm, Hà Nội, Việt Nam" />
        <meta name="geo.position" content="20.975185;105.845461" />
        <meta name="geo.region" content="VN-Hà Nội" />
        <meta name="ICBM" content="20.975185, 105.845461" />
        <meta name="DC.Publisher" content="ckvic design" />
    </head>
    
    <body class="home blog" style="background: url('images/brushed_alu.png') repeat scroll 0% 0% transparent;">
        <div class="main-container">
            <div class="container_24">
                <div class="grid_24">
                    <div class="header">
                        <div class="grid_17 alpha">
                            <div class="logo"> <a href="<?=$curHost?>"><img src="images/logo.png" alt="<?=$title?>"></a>

                            </div>
                        </div>
                        <div class="grid_7 omega">
                            <div class="header_info"> <a href="#"><img src="images/call.png" alt="logo"></a>

                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="main-content">
                        <div class="full-page">
                            <div class="clear"></div>
                            <!--Start Menu wrapper-->
                            <div class="menu_wrapper">
                                <div id="menu" class="ddsmoothmenu">
                                <? require_once 'modules/navigator/index.php';?>
                                </div>
                            </div>
                            <!--End Menu-->
                        </div>
                        <div class="clear"></div>
                        <!--Start Index-->
                        <div class="index-page">
                        <?php
						if($pages=='' || $pages=='home'){
						?>
                            <!--Start Slider-->
                            <div class="slider-wrapper">
                                <div id="container">
                                    <div id="example">
                                        <div id="slides">
                                            <?php
                                            require_once('plugins/slideshow/index.php');?>
                                        </div>
                                    </div>
                                </div>
                                <div class="slider-info">
                                    <div class="header-search-block">
                                        <div id="listings">
                                            <div id="listings-content">
                                                <div id="listings-options">
                                                     <h2>Liên hệ</h2>
                                                     <div id="support">
                                                     <? require_once 'plugins/box_support.php';?>
                                                     </div>
                                                     
                                                </div>
                                                <!-- end #listings-options -->
                                            </div>
                                            <!-- end #listings-content -->
                                            <div id="listings-bottom">
                                                <div id="search-container">
                                                    <form action="<?=$curHost?>" id="customsearch" method="post">
                                                    	<input id="pagesearch" name="frame" value="keyword" type="hidden" />
                                                        <input id="searchinput" name="keyword" value="" type="text">
                                                        <input name="submit" class="ssubmit" type="submit">
                                                    </form>
                                                </div>
                                                <!-- end #search-container -->
                                            </div>
                                            <!-- end #listings-bottom -->
                                        </div>
                                        <!-- end #listings -->
                                    </div>
                                </div>
                            </div>
                            <!--End Slider-->
                        <?php
						}
						?>
                            <div class="clear"></div>
                            <!--
                            <div class="page-heading">
                                 <h1>Quảng cáo chăng</h1>
                            </div>
                            <div class="page-feature gallery"> <a href="http://inkthemes.com/wpthemes/homebuildertheme/">
<span class="fade">
</span>
<img src="data/b-1.jpg">
</a>
 <a href="http://inkthemes.com/wpthemes/homebuildertheme/">
<span class="fade">
</span>
<img src="data/b-2.jpg">
</a>
 <a href="http://inkthemes.com/wpthemes/homebuildertheme/">
<span class="fade">
</span>
<img src="data/b-3.jpg">
</a>
 <a href="http://inkthemes.com/wpthemes/homebuildertheme/">
<span class="fade">
</span>
<img src="data/b-4.jpg">
</a>

                            </div>
                            <div class="clear"></div>
                            -->
                            <div class="feature-content">
                                <div class="left-feature">
                                     <h2>Về chúng tôi</h2>

									<?php
                                    $intro = getRecord('xteam_static','status=1 AND code="intro"');
									echo catchu($intro['detail'],400);
                                    ?>
                                     <h2>Gửi Email</h2>

                                    <form class="contactform" id="conform" action="<?=$curHost?>"
                                    method="post">
                                        <label>Họ và tên</label>
                                        <input name="contactName" id="contactName" value="" class="text required requiredField"
                                        type="text">
                                        <br>
                                        <label>Email</label>
                                        <input name="email" id="email" value="" class="text required requiredField email"
                                        type="text">
                                        <br>
                                        <label>Nội dung</label>
                                        <textarea name="comments" id="commentsText" rows="20" cols="30"
                                        class="required requiredField message"></textarea>
                                        <br>
                                        <input class="btnSubmit" name="submit" value="Gửi tin" type="submit">
                                        <input name="submitted" id="submitted" value="true" type="hidden">
                                    </form>
                                </div>
                                <div class="content-bar right-feature gallery">
                                     <h1><?php require_once "modules/processTitle.php";?></h1>
                                     <hr />
                                     <?php require_once "modules/processFrame.php";?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--End Index-->
                    <div class="clear"></div>
                    <!--Start Footer-->
                    <div class="footer">
                        <div class="grid_6 alpha">
                            <div class="widget_inner">
                                 <h4>Địa chỉ</h4>
                                 <? require_once"modules/contactInfoDetailShort.php";?>
                            </div>
                        </div>
                        <div class="grid_6">
                            <div class="widget_inner">
                                 <h4>Xem nhiều nhất</h4>
                                <?php require_once('modules/news/topview.php'); ?>
                            </div>
                        </div>
                        <div class="grid_6">
                            <div class="widget_inner">
                                 <h4>Mạng xã hội</h4>
                                 <img src="<?=$curHost?>images/google_color.png" alt="Google+"/>
                                 <img src="<?=$curHost?>images/facebook.png" alt="Facebook"/>
                                 <img src="<?=$curHost?>images/twitter2.png" alt="Twitter"/>
                            </div>
                        </div>
                        <div class="grid_6 omega">
                            <div class="widget_inner">
                                <div class="widget_inner last"> <a href="#">
<img src="images/footer-logo.png">
</a>

                                </div>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                    <!--Start footer bottom inner-->
                    <div class="bottom-footer">
                        <div class="grid_12 alpha">
                            <div class="footer_bottom_inner">
                            	<span class="copyright">
                                	<a href="http://ckvic.com">Thiết kế website</a> <a href="http://ntvn.vn">Niềm Tin Việt</a>
                                </span>
                            </div>
                        </div>
                        <div class="grid_12 omega"></div>
                    </div>
                    <!--End Footer bottom inner-->
                    <!--End Footer bottom-->
                </div>
            </div>
        </div>
        
<script type="text/javascript">
    Cufon.now();
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-32979165-1']);
    _gaq.push(['_setDomainName', 'ckvic.com']);
    _gaq.push(['_trackPageview']);
    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
</script>
<div style="border-radius:3px;right:0;position: fixed;bottom:0;background:#FFF;border:1px solid #E4E4E4;height:20px;padding:5px; ">
	<!-- AddThis Button BEGIN -->
	<div class="addthis_toolbox addthis_default_style ">
	<a rel="nofollow" target="_self" id="addthis_button_facebook" class="addthis_button_facebook"></a>
	<a rel="nofollow" target="_self" id="addthis_button_govn" class="addthis_button_govn"></a>
	<a rel="nofollow" target="_self" id="addthis_button_zingme" class="addthis_button_zingme"></a>
	<a rel="nofollow" target="_self" id="addthis_button_email" class="addthis_button_email"></a>
	<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
	<a rel="nofollow" target="_self" class="addthis_button_google_plusone" g:plusone:size="medium"></a>
	<a rel="nofollow" target="_self" class="addthis_button_tweet"></a>
	
	</div>
	<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50114aa51f6787fb"></script>
	<!-- AddThis Button END -->
</div>
    </body>

</html>